package com.eastfair.pay.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * @author Du Xiaobo
 * @date 2023/5/17 15:32
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CollectDTO", description = "认款（餐饮，会议，展览）")
public class OrdinaryCollectDTO {
    /**
     * 付款记录id
     */
    @ApiModelProperty(value = "付款记录id")
    private Long paymentRecordId;
    @ApiModelProperty(value = "业务单号")
    private String orderNum;
    @ApiModelProperty(value = "认领金额")
    private BigDecimal collectAmount;
    /**
     * 款项类型(数据字典)
     */
    @ApiModelProperty(value = "款项类型(数据字典)")
    @Size(max = 255, message = "款项类型(数据字典)长度不能超过255")
    private String collectType;
}
